package com.bt.table.ppt;

import com.bt.mes.common.bean.entity.UUIDObject;

/**
 * Bis_path_connectionsId entity. @author MyEclipse Persistence Tools
 */

public class Bis_path_connectionId implements java.io.Serializable {

	// Fields    

	private Integer chart_id;
	private String conn_id;

	// Constructors

	/** default constructor */
	public Bis_path_connectionId() {
	}

	/** full constructor */
	public Bis_path_connectionId(Integer chart_id, String conn_id) {
		this.chart_id = chart_id;
		this.conn_id = conn_id;
	}

	// Property accessors

	public Integer getChart_id() {
		return this.chart_id;
	}

	public void setChart_id(Integer chart_id) {
		this.chart_id = chart_id;
	}

	public String getConn_id() {
		return this.conn_id;
	}

	public void setConn_id(String conn_id) {
		this.conn_id = conn_id;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bis_path_connectionId))
			return false;
		Bis_path_connectionId castOther = (Bis_path_connectionId) other;

		return ((this.getChart_id() == castOther.getChart_id()) || (this.getChart_id() != null && castOther.getChart_id() != null && this
				.getChart_id().equals(castOther.getChart_id())))
				&& ((this.getConn_id() == castOther.getConn_id()) || (this.getConn_id() != null && castOther.getConn_id() != null && this
						.getConn_id().equals(castOther.getConn_id())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getChart_id() == null ? 0 : this.getChart_id().hashCode());
		result = 37 * result + (getConn_id() == null ? 0 : this.getConn_id().hashCode());
		return result;
	}

}